home *** CD-ROM | disk | FTP | other *** search
/ Sunday Savers: Singing Fun! / Sunday Savers: Singing Fun!.iso / mac / Xtras / Buddy API 1.6 / Buddy API Docs.swf / texts / 1118.txt < prev    next >
Encoding:
Text File  |  2004-08-31  |  2.6 KB  |  113 lines

  1. 24
  2. --- RECORDSEPARATOR ---
  3.  
  4. --- RECORDSEPARATOR ---
  5. WriteRegNumber 
  6. --- RECORDSEPARATOR ---
  7. Platform:
  8. --- RECORDSEPARATOR ---
  9.  
  10. --- RECORDSEPARATOR ---
  11. Windows
  12. --- RECORDSEPARATOR ---
  13.  
  14. --- RECORDSEPARATOR ---
  15. Description:
  16. --- RECORDSEPARATOR ---
  17.  
  18. --- RECORDSEPARATOR ---
  19. baWriteRegNumber gets a number from the Windows Registry.
  20. --- RECORDSEPARATOR ---
  21.  
  22. --- RECORDSEPARATOR ---
  23. Usage:
  24. --- RECORDSEPARATOR ---
  25.  
  26. --- RECORDSEPARATOR ---
  27. Result = baWriteRegNumber( KeyName, ValueName, NewData, Branch )
  28. --- RECORDSEPARATOR ---
  29.  
  30. --- RECORDSEPARATOR ---
  31. Arguments:
  32. --- RECORDSEPARATOR ---
  33.  
  34. --- RECORDSEPARATOR ---
  35. String, String, Integer, String. 
  36. --- RECORDSEPARATOR ---
  37. KeyName is the name of the key. 
  38. --- RECORDSEPARATOR ---
  39. ValueName is the name of the value. 
  40. --- RECORDSEPARATOR ---
  41. NewData is the number that will be written to the registry. 
  42. --- RECORDSEPARATOR ---
  43. Branch is the branch of the registry to use. Can be one of the following: 
  44. --- RECORDSEPARATOR ---
  45. "HKEY_CLASSES_ROOT" 
  46. --- RECORDSEPARATOR ---
  47. "HKEY_CURRENT_USER" 
  48. --- RECORDSEPARATOR ---
  49. "HKEY_LOCAL_MACHINE" 
  50. --- RECORDSEPARATOR ---
  51. "HKEY_USERS" 
  52. --- RECORDSEPARATOR ---
  53. ΓÇ£HKEY_CURRENT_USERΓÇ¥ 
  54. --- RECORDSEPARATOR ---
  55. ΓÇ£HKEY_DYN_DATAΓÇ¥
  56. --- RECORDSEPARATOR ---
  57.  
  58. --- RECORDSEPARATOR ---
  59. Returns:
  60. --- RECORDSEPARATOR ---
  61.  
  62. --- RECORDSEPARATOR ---
  63. Integer. 
  64. --- RECORDSEPARATOR ---
  65. Returns 1 if the function is successful, otherwise 0.
  66. --- RECORDSEPARATOR ---
  67.  
  68. --- RECORDSEPARATOR ---
  69. Examples:
  70. --- RECORDSEPARATOR ---
  71.  
  72. --- RECORDSEPARATOR ---
  73. Director: 
  74. --- RECORDSEPARATOR ---
  75. set OK = baWriteRegNumber( "Courses\Computers", "Course", 101 , 
  76. --- RECORDSEPARATOR ---
  77. "HKEY_CLASSES_ROOT" ) 
  78. --- RECORDSEPARATOR ---
  79. Authorware: 
  80. --- RECORDSEPARATOR ---
  81. OK := baWriteRegNumber( "Courses\\Computers", "Course", 101 , 
  82. --- RECORDSEPARATOR ---
  83. "HKEY_CLASSES_ROOT" )
  84. --- RECORDSEPARATOR ---
  85.  
  86. --- RECORDSEPARATOR ---
  87. Notes:
  88. --- RECORDSEPARATOR ---
  89.  
  90. --- RECORDSEPARATOR ---
  91. This function does not work in 16 bit - the 16 bit registry can not contain numbers. If 
  92. --- RECORDSEPARATOR ---
  93. used in 16 bit, the function does nothing. 
  94. --- RECORDSEPARATOR ---
  95. A Registry entry consists of keys and sub-keys, similar to the directories and sub- 
  96. --- RECORDSEPARATOR ---
  97. directories in the Windows file system. 32 bit Windows adds Values to the registry. 
  98. --- RECORDSEPARATOR ---
  99. These can be thought of as files within the key.
  100. --- RECORDSEPARATOR ---
  101.  
  102. --- RECORDSEPARATOR ---
  103. See also:
  104. --- RECORDSEPARATOR ---
  105.  
  106. --- RECORDSEPARATOR ---
  107. baReadRegString 
  108. --- RECORDSEPARATOR ---
  109. baWriteRegString 
  110. --- RECORDSEPARATOR ---
  111. baReadRegNumber 
  112. --- RECORDSEPARATOR ---
  113. baDeleteReg